package designpatterns.prototype;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2022/1/29 8:48
 */
public class Rectangle extends Shape {

    private static final Logger logger = LoggerFactory.getLogger(Rectangle.class);


    public Rectangle() {
        type = "Rectangle";
    }

    @Override
    void draw() {
        logger.info("Rectangle is Draw!");
    }
}
